package org.jeecg.modules.demo.ddyht.service;

import org.jeecg.modules.demo.ddyht.entity.DdygInventory;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.ddyht.entity.JxcDapingshuju;

import java.util.List;

/**
 * @Description: 库存明细
 * @Author: jeecg-boot
 * @Date:   2025-02-23
 * @Version: V1.0
 */
public interface IDdygInventoryService extends IService<DdygInventory> {

    List<DdygInventory> getBycompany(String username);

    DdygInventory getBymodelcompany(String model, String companyId);

    String tz(String username);

    JxcDapingshuju getshuju(String companyId);

    void updateshuju(String risell, String rijin, String riben, String rirun, String companyId);

    void updateshujuyue(String saleamount, String stockamount, String costamount, String profit, String companyId);

    void updateshujunian(String saleamount, String stockamount, String costamount, String profit, String companyId);

    String xz();

    String getCostingnianamount(String day, String companyId);

    JxcDapingshuju selectshuju(String companyId);

    void saveyue(JxcDapingshuju jxcDapingshuju);

    void saveri(JxcDapingshuju jxcDapingshuju);

    void savenian(JxcDapingshuju jxcDapingshuju);
}
